<template>
  <aside class="v-aside" :style="style">
    <slot></slot>
  </aside>
</template>
<script>
  import view from './view.js'

  export default {
    name: 'v-aside',
    componentName: 'v-aside',
    mixins: [view],
    props: {
      desc: {
        type: String,
        default: 'v-aside'
      }
    },
    install: function (Vue) {
      Vue.component('v-aside', this)

    },
    computed: {
      style () {
        let prop = view.getStyle(this.$props)
        console.log(prop)
        return prop
      }

    }
  }

</script>
